﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Acoris.Animation
{
    /// <summary>
    /// 
    /// </summary>
    public class AnimationTimeSnapshot
    {
        /// <summary>
        /// 获取距离上次快照的执行时间
        /// </summary>
        public readonly TimeSpan ElapsedTime;

        /// <summary>
        /// 获取该时间线的全部运行时间
        /// </summary>
        public readonly TimeSpan TotalTime;

        /// <summary>
        /// 
        /// </summary>
        /// <param name="elapsedTime"></param>
        /// <param name="totalTime"></param>
        public AnimationTimeSnapshot(TimeSpan elapsedTime,TimeSpan totalTime)
        {
            ElapsedTime = elapsedTime;
            TotalTime = totalTime;
        }
    }
}
